export var routes = [
    {
        id: "dashboard",
        icon: "speedometer", // 仪表盘专用图标
        name: "仪表盘",
        path: "/",
        loader: "./components/dashboard.js",
        children: null,
    },
    {//产品模块
        id: "product",
        icon: "box", // 产品/箱子图标
        name: "产品管理",
        path: null,
        loader: null,
        children: [
            {
                id : "productList",
                name : "产品列表",
                path : "/productList",
                loader : "./components/product/productList.js",//拿到hash地址用于渲染
                children :null
            }, {

                id : "productCategory",
                name : "库存管理",
                path : "/productCategory",
                loader : "./components/product/productCategory.js",
                children :null
            }
        ]
    },
    {//服务模块
        id: "vt",
        icon: "headphones", // 服务/耳机图标
        name: "服务管理",
        path: null,
        loader: null,
        children: [
            {
                id: "vtList",
                name: "服务列表",
                path: "/vtList",
                loader: "./components/vt/vtList.js",
                children: null
            },
            {
                id: "vtEdit",
                name: "服务分类",
                path: "/vtEdit",
                loader: "./components/vt/vtEdit.js",
                children: null
            }
        ]
    },{//订单模块
        id : "orderList",
        name : "订单管理",
        path : null,
        loader : null,
        children :[
            {
                id : "orderList",
                name : "订单列表",
                path : "/orderList",
                loader : "./components/order/o1.js",
                children :null
            }
        ]
    },{//客服模块
        id: "customerService",
        icon: "chat-left", // 客服/聊天图标
        name: "客服管理",
        path: "/customerService",
        loader: "./components/customerService/customerService.js",
        children: null
    },{
        //系统设置
        id : "systemSetting",
        name : "系统设置",
        path : "/systemSetting",
        loader : "./components/systemSetting/systemSetting.js",
        children :null
    },{
        //用户管理
        id : "userManagement",
        name : "用户管理",
        path : "/userManagement",
        loader : "./components/userManagement/userManagement.js",
        children :null
    },{
        //产品管理
        id : "productManagement",
        name : "产品管理",
        path : "/productManagement",
        loader : "./components/productManagement/productManagement.js",
        children :null
    },{
    id : "productDetail",
        name : "员工管理",
        path : "/productDetail",
        loader : "./components/productDetail/productDetail.js",
        children :null
    },{
    name:"员工福利",
    id:"employeeWelfare",
    path:"/employeeWelfare",
    loader:"./components/employeeWelfare/employeeWelfare.js",
    children:null
    },{
    name:"升职标准",
    id:"promotionStandard",
    path:"/promotionStandard",
    loader:"./components/promotionStandard/promotionStandard.js",
    children:null
    },{
    name:"绩效考核",
    id:"performanceAppraisal",
    path:"/performanceAppraisal",
    loader:"./components/performanceAppraisal/performanceAppraisal.js",
    children:null
    },{
    name:"薪资管理",
    id:"salaryManagement",
    path:"/salaryManagement",
    loader:"./components/salaryManagement/salaryManagement.js",
    children:null
    }, {
        name: "招聘管理",
        id: "recruitmentManagement",
        path: "/recruitmentManagement",
        loader: "./components/recruitmentManagement/recruitmentManagement.js",
        children: null
    }, {
        name: "培训管理",
        icon: "book", // 培训/书本图标
        id: "trainingManagement",
        path: "/trainingManagement",
        loader: "./components/trainingManagement/trainingManagement.js",
        children: null
    }, {
        name: "考勤管理",
        icon: "clock", // 考勤/时钟图标
        id: "attendanceManagement",
        path: "/attendanceManagement",
        loader: "./components/attendanceManagement/attendanceManagement.js",
        children: null
    }, {
        name: "离职管理",
        icon: "person-dash", // 离职/移除人员图标
        id: "dimissionManagement",
        path: "/dimissionManagement",
        loader: "./components/dimissionManagement/dimissionManagement.js",
        children: null
    }, {
        name: "奖惩制度",
        icon: "award", // 奖惩/奖章图标
        id: "rewardPunishmentSystem",
        path: "/rewardPunishmentSystem",
        loader: "./components/rewardPunishmentSystem/rewardPunishmentSystem.js",
        children: null
    }, {
        name: "社保公积金",
        icon: "credit-card", // 社保/信用卡图标
        id: "socialSecurityFund",
        path: "/socialSecurityFund",
        loader: "./components/socialSecurityFund/socialSecurityFund.js",
        children: null
    }, {
        name: "合同管理",
        icon: "file-text", // 合同/文件图标
        id: "contractManagement",
        path: "/contractManagement",
        loader: "./components/contractManagement/contractManagement.js",
        children: null
    },{
        name: "员工培训记录",
        icon: "journal-text", // 记录/日志图标
        id: "employeeTrainingRecords",
        path: "/employeeTrainingRecords",
        loader: "./components/employeeTrainingRecords/employeeTrainingRecords.js",
        children: null
    }, {
        name: "部门管理",
        icon: "building", // 部门/建筑图标
        id: "departmentManagement",
        path: "/departmentManagement",
        loader: "./components/departmentManagement/departmentManagement.js",
        children: null
    }, {
        name: "岗位设置",
        icon: "briefcase", // 岗位/公文包图标
        id: "positionSetting",
        path: "/positionSetting",
        loader: "./components/positionSetting/positionSetting.js",
        children: null
    }, {
        name: "考勤统计",
        icon: "calendar-check", // 统计/日历勾选图标
        id: "attendanceStatistics",
        path: "/attendanceStatistics",
        loader: "./components/attendanceStatistics/attendanceStatistics.js",
        children: null
    },

]
